//
//  HWjifenRenwuTableViewCell.m
//  HWanGame
//
//  Created by 陈道斌 on 2021/1/18.
//  Copyright © 2021 Chendaobin. All rights reserved.
// demo 123456

#import "HWjifenRenwuTableViewCell.h"

@implementation HWjifenRenwuTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.baseibeijingyanse.layer.cornerRadius = 10;
    self.baseibeijingyanse.layer.masksToBounds = YES;
    
    
       UILabel *nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(56+50,14, 100, 14)];
                //     nameLabel.text = fanlilistArr[i];
         //  nameLabel.backgroundColor =  RGB(248, 119, 6);
          nameLabel.backgroundColor =  RGB(248, 119, 6);
           nameLabel.textAlignment = NSTextAlignmentCenter;
           nameLabel.font = [UIFont systemFontOfSize:10];
           nameLabel.textColor = RGB(255, 255, 255);
      //     nameLabel.layer.cornerRadius = 8;
      //     nameLabel.layer.masksToBounds = YES;
           nameLabel.text = @"实名认证有好礼";
         nameLabel.layer.cornerRadius = 2;
         nameLabel.layer.masksToBounds = YES;
       self.chaijijifenkaLabel = nameLabel;
    
     
    
        [self.baseibeijingyanse addSubview:nameLabel];
     
    
    
    
   UIButton *fanhuiBut = [UIButton buttonWithType:UIButtonTypeCustom];
     fanhuiBut.frame = CGRectMake(kScreenW-40-58-20, 18 , 58, 24);
     fanhuiBut.backgroundColor = [UIColor  clearColor];
    //  [fanhuiBut setImage:[UIImage imageNamed:@"fanhuijiemianIco"] forState:UIControlStateNormal];
   
    [fanhuiBut setTitle:@"去完成" forState:UIControlStateNormal];
    [fanhuiBut  setTitleColor:RGB(255, 255, 255) forState:UIControlStateNormal];
    fanhuiBut.layer.cornerRadius = 13;
    fanhuiBut.layer.masksToBounds = YES;
    
    self.lingquBut = fanhuiBut;
    self.lingquBut.hidden = YES;
    fanhuiBut.titleLabel.font = [UIFont  systemFontOfSize:13];
    fanhuiBut.backgroundColor =  [UIColor bm_colorGradientChangeWithSize:CGSizeMake(58, 24) direction:IHGradientChangeDirectionLevel startColor:RGB(255, 182, 10) endColor:RGB(246, 106, 5)];
    [self.baseibeijingyanse addSubview:fanhuiBut];
    
    
   //  self.chaijijifenkaLabel
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
